<template>
	<view class="content">
		<view class="list-box">
			<view class="title">
				付款详情
			</view>
			<view class="item-box">
				<view class="title">
					供应商名称
				</view>
				<view class="text">
					{{form.supplierName}}
					<!-- <input type="text" placeholder="项目名称"/> -->
				</view>
			</view>
			<view class="item-box">
				<view class="title">
					开户行
				</view>
				<view class="text">
					{{form.bankName}}
				</view>
			</view>
			<view class="item-box">
				<view class="title">
					行号
				</view>
				<view class="text">
					{{form.bankNo}}
				</view>
			</view>
			<view class="item-box">
				<view class="title">
					账号
				</view>
				<view class="text">
					{{form.accountNo}}
				</view>
			</view>
			<view class="item-box">
				<view class="title">
					支付时间
				</view>
				<view class="text">
					{{form.createTime}}
				</view>
			</view>
			<view class="item-box">
				<view class="title">
					付款金额
				</view>
				<view class="text">
					{{form.money}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import config from '@/config'
	import {
		payRecord
	} from "@/api/system/index"
	const baseUrl = config.baseUrl
	export default {
		data() {
			return {
				form:{},
				text:'',
				id:''
			}
		},
		onLoad(e) {
			this.id = e.id
			this.getInfo()
		},
		methods:{
			getInfo() {
				payRecord(this.id).then(res=>{
					this.form = res.data
				})
			},
		}
		
	}
</script>

<style lang="scss">
	.content {
		padding: 20rpx;
		padding-bottom: 150rpx;
		.list-box {
			padding: 20rpx;
			background: #ffffff;
			border-radius: 8rpx;
			.title {
				padding-top: 20rpx;
				padding-bottom: 20rpx;
				color: #333;
				font-size: 28rpx;
				font-weight: bold;
			}
			.item-box {
				padding-top: 15rpx;
				padding-bottom: 15rpx;
				padding-left: 10rpx;
				display: flex;
				align-items: center;
				border-top: 1px solid #EDEDED;
				.title {
					color: #999999;
					width: 180rpx;
				}
				.text {
					width: 420rpx;
				}
			}
		}
		.bottom-box {
			position: fixed;
			bottom: 0;
			left: 0;
			width: 750rpx;
			padding: 30rpx;
			padding-bottom: 120rpx;
			height: 120rpx;
			background: #ffffff;
			display: flex;
			justify-content: space-between;
			.bnt {
				color: #ffffff;
				width: 306rpx;
				height: 88rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				border-radius: 10rpx;
				background: #4D8987;
			}
		}
	}
</style>